package PO;
import java.io.Serializable;
import Catalog.*;
@SuppressWarnings("serial")

public class CatalogPO  extends PO implements Serializable {
	long id;
	String description;
	BookListPO booklist;
	
	public CatalogPO(long i,String d,BookListPO b){
		id=i;
		description=d;
		booklist=b;
	}
	public CatalogPO(Catalog catalog){
		id=catalog.getID();
		description=catalog.getDescription();
		booklist=new BookListPO(catalog.getBookList());
	}
	public long getID(){
		return id;
	}
	public String getDescription(){
		return description;
	}
	public BookListPO getBookList(){
		return booklist;
	}
	
}
